import Vue from 'vue'
import App from '@/App.vue'
import router  from './router'
import store from "@/store";
import ViewUI from 'view-design';
import Plugin from '@/plugin'
import 'view-design/dist/styles/iview.css';
import { Lazyload } from 'vant';
import { ImagePreview } from 'vant';

// 全局注册
Vue.use(ImagePreview);
Vue.use(Lazyload);

// 引入星空特效
import VueParticles from 'vue-particles'
Vue.use(VueParticles)

Vue.config.productionTip = false
Vue.use(ViewUI);
Vue.use(Plugin)

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
